package jp.dodododo.dao.util;

import java.sql.DatabaseMetaData;
import java.sql.SQLException;

import jp.dodododo.dao.exception.SQLRuntimeException;

/**
 * 
 * @author Satoshi Kimura
 */
public abstract class DatabaseMetaDataUtil {

	public static String getDatabaseProductName(DatabaseMetaData dmd) {
		try {
			return dmd.getDatabaseProductName();
		} catch (SQLException e) {
			throw new SQLRuntimeException(e);
		}
	}

}
